Page({
    data: {
        images: ["../../images/teacher1.jpg", "../../images/teacher2.jpg", "../../images/teacher3.jpg", "../../images/teacher4.jpg"],
        swiperCurrent: 0,
    },
    swiperChange: function (e) {  // 轮播图指示器方法
        this.setData({
            swiperCurrent: e.detail.current // 获取当前位置信息
        })
    },
})